﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Easydp.Models.Entities
{
    public class Route
    {
        private int routeID;
        public int RouteID
        {
            get
            {
                return routeID;
            }
            set
            {
                if (this.routeID != value)
                    this.routeID = value;
            }
        }

        private string trainNumber;
        public string TrainNumber
        {
            get
            {
                return trainNumber;
            }
            set
            {
                if (this.trainNumber != value)
                    this.trainNumber = value;
            }
        }

        private string trainType;
        public string TrainType
        {
            get
            {
                return trainType;
            }
            set
            {
                if (this.trainType != value)
                    this.trainType = value;
            }
        }

        private string countimes;
        public string Countimes
        {
            get
            {
                return countimes;
            }
            set
            {
                if (this.countimes != value)
                    this.countimes = value;
            }
        }

        private int countMile;
        public int CountMile
        {
            get
            {
                return countMile;
            }
            set
            {
                if (this.countMile != value)
                    this.countMile = value;
            }
        }

        private string startStation;
        public string StartStation
        {
            get
            {
                return startStation;
            }
            set
            {
                if (this.startStation != value)
                    this.startStation = value;
            }
        }

        private string endStation;
        public string EndStation
        {
            get
            {
                return endStation;
            }
            set
            {
                if (this.endStation != value)
                    this.endStation = value;
            }
        }

        private DateTime createOn;
        public DateTime CreateOn
        {
            get
            {
                return createOn;
            }
            set
            {
                if (this.createOn != value)
                    this.createOn = value;
            }
        }


    }
}
